package com.sunyur.tailor.channel.service.inner.returnorder.param;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class Items implements Serializable {
/**
 * @program: tailor_channel
 * @description:
 * @author: pengbing
 * @create: 2021-06-08 14:32
 **/
    /**
     * 采购商退货行号
     */
    @NotNull(message = "采购商退货行号不能为空")
    @Size(max = 45, message = "采购商退货行号长度不能超过45")
    private String purReturnOrderItemCode;

    /**
     * 收货行号
     */
    @NotNull(message = "收货行号不能为空")
    @Size(max = 45, message = "收货行号长度不能超过45")
    private String receiveOrderItemCode;

    /**
     * 退货数量
     */
    @NotNull(message = "退货数量不能为空")
    @Size(max = 45, message = "退货数量长度不能超过45")
    private BigDecimal returnCount;
}
